/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.ispobey.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.ispobey.Addition;
import za.ac.cput.assignment2.ispobey.impl.AdditionImpl;

/**
 *
 * @author Siya
 */
@Configurable
public class AppConfig {
    
    @Bean(name = "add")
    public Addition add(){
    
        return new AdditionImpl();
    }
}
